dom=./rddl/inventory_control_combined_mdp.rddl
for shops in {11}
do
trucks=`expr $shops / 2`
inst=./rddl/inventory_control_combined_inst_mdp_$shops\_$trucks.rddl
echo "Solving $dom $inst"
sh ./scripts/SPUDD.sh $dom $inst 0.1 10 30 0 
echo "solv $f using VI"
for i in 0,5,10,20,40
do
sh ./scripts/MPI.sh $dom $inst $i 0.1 10 30 0
echo "solved MPI $i"
done
#sh ./scripts/vic.sh $dom $inst 0.1
#echo "solving $f using VIC"
#sh spi.sh $dom $inst 10 
#echo "solving $f using SPI 10"
#sh spi.sh $dom $inst 3 
#echo "solving $f using SPI 3"
#sh spi.sh $dom $inst 5 
#echo "solving $f using SPI 5"
#sh ./scripts/viCut.sh $dom $inst 0.1 0.002e5 
#echo "conditioning 0.002e5"
#sh ./scripts/viCut.sh  $dom $inst 0.1 1e5 
#echo "conditioning 1e5"
#sh ./scripts/viCut.sh  $dom $inst 0.1 0.1e5 
#echo "conditioning 0.1e5"
#sh ./scripts/viCut.sh  $dom $inst 0.1 5e5 
#echo "conditioning 5e5"
#sh ./scripts/maxD.sh $dom $inst 0.1
#echo " max decom"
#sh ./scripts/viaadd.sh $dom $inst 0.1
#echo "vi aadd"
#sh ./scripts/vicaadd.sh $dom $inst 0.1
#echo "vic aadd"
done


